home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 031a / owlbwcc.zip / BDDVTBTN.RC < prev    next >
Text File  |  1992-02-02  |  2KB  |  31 lines

  1. /*****************************************************************/
  2. /* BDDVTBTN.RC defines a simple Borland Windows Custom Control   */
  3. /* Dialog Box that can be used as the main window.               */
  4. /* Notice the CLASS "BORDLG" to activate the metalic background  */
  5. /* Also notice the special "Borshade" Control.                   */
  6. /*****************************************************************/
  7.  
  8. #include "windows.h"
  9. #include "bwcc.h"
  10.  
  11. MAINWINDOWDIALOG DIALOG 21, 19, 150, 121
  12. CAPTION "Dynamic Dispatch Virtual Tables"
  13. CLASS "BORDLG"
  14. STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
  15. BEGIN
  16.     CONTROL "", 102, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 1, 67, 150, 1
  17.     CONTROL "", 101, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 6, 7, 138, 54
  18.     CTEXT "Individual Button Messages is Via", -1, 12, 24, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  19.     CTEXT "Dynamic Dispatch Virtual Tables", -1, 12, 36, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  20.     CTEXT "Even redefining Ok and Cancel", -1, 12, 49, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  21.     CONTROL "Button", 1, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 74, 32, 20
  22.     CONTROL "Button", 5, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 96, 32, 20
  23.     CONTROL "Button", 2, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 42, 74, 32, 20
  24.     CONTROL "Button", 6, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 42, 96, 32, 20
  25.     CONTROL "Button", 3, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 76, 74, 32, 20
  26.     CONTROL "Button", 7, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 76, 96, 32, 20
  27.     CONTROL "Button", 4, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 110, 74, 32, 20
  28.     CONTROL "Button", 8, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 110, 96, 32, 20
  29.     CTEXT "The recommended way of processing", -1, 14, 14, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  30. END
  31.